aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2019-06-22 23:16:47 +0200
committerLorenz Diener <[email protected]>2019-06-22 23:16:47 +0200
commit225c8ca76a8fc6eb2a87a8156b7ce808d3b06507 (patch)
tree58a331db57609ca038d9428f27b064a4c1b32854 /tests/cassettes/test_status_post[None-private].yaml
parentf920f8b58429b5d7dea43442765df824ac04bf91 (diff)
downloadmastodon.py-225c8ca76a8fc6eb2a87a8156b7ce808d3b06507.tar.gz
Fresh batch of test runs
Diffstat (limited to 'tests/cassettes/test_status_post[None-private].yaml')
-rw-r--r--tests/cassettes/test_status_post[None-private].yaml26
1 files changed, 11 insertions, 15 deletions
diff --git a/tests/cassettes/test_status_post[None-private].yaml b/tests/cassettes/test_status_post[None-private].yaml
index dceb6c5..228bcd7 100644
--- a/tests/cassettes/test_status_post[None-private].yaml
+++ b/tests/cassettes/test_status_post[None-private].yaml
@@ -12,10 +12,8 @@ interactions:
12 method: POST 12 method: POST
13 uri: http://localhost:3000/api/v1/statuses 13 uri: http://localhost:3000/api/v1/statuses
14 response: 14 response:
15 body: {string: '{"id":"102315368692193928","created_at":"2019-06-22T13:03:48.745Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"private","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102315368692193928","url":"http://localhost/@mastodonpy_test/102315368692193928","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py 15 body: {string: '{"id":"102317293178902156","created_at":"2019-06-22T21:13:14.069Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"private","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102317293178902156","url":"http://localhost/@mastodonpy_test/102317293178902156","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py
16 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 16 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
17 Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI
18 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
19 headers: 17 headers:
20 Cache-Control: ['no-cache, no-store'] 18 Cache-Control: ['no-cache, no-store']
21 Content-Type: [application/json; charset=utf-8] 19 Content-Type: [application/json; charset=utf-8]
@@ -26,10 +24,10 @@ interactions:
26 X-Download-Options: [noopen] 24 X-Download-Options: [noopen]
27 X-Frame-Options: [SAMEORIGIN] 25 X-Frame-Options: [SAMEORIGIN]
28 X-Permitted-Cross-Domain-Policies: [none] 26 X-Permitted-Cross-Domain-Policies: [none]
29 X-Request-Id: [584a2dd9-17e0-41ec-b26f-4f590e6e9321] 27 X-Request-Id: [fc46fd2a-6ac9-4b3e-a0f2-708007797779]
30 X-Runtime: ['0.185684'] 28 X-Runtime: ['0.164863']
31 X-XSS-Protection: [1; mode=block] 29 X-XSS-Protection: [1; mode=block]
32 content-length: ['1583'] 30 content-length: ['1222']
33 status: {code: 200, message: OK} 31 status: {code: 200, message: OK}
34- request: 32- request:
35 body: null 33 body: null
@@ -41,12 +39,10 @@ interactions:
41 Content-Length: ['0'] 39 Content-Length: ['0']
42 User-Agent: [python-requests/2.18.4] 40 User-Agent: [python-requests/2.18.4]
43 method: DELETE 41 method: DELETE
44 uri: http://localhost:3000/api/v1/statuses/102315368692193928 42 uri: http://localhost:3000/api/v1/statuses/102317293178902156
45 response: 43 response:
46 body: {string: '{"id":"102315368692193928","created_at":"2019-06-22T13:03:48.745Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"private","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102315368692193928","url":"http://localhost/@mastodonpy_test/102315368692193928","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"text":"Toot!","reblog":null,"application":{"name":"Mastodon.py 44 body: {string: '{"id":"102317293178902156","created_at":"2019-06-22T21:13:14.069Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"private","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102317293178902156","url":"http://localhost/@mastodonpy_test/102317293178902156","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"text":"Toot!","reblog":null,"application":{"name":"Mastodon.py
47 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 45 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
48 Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI
49 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
50 headers: 46 headers:
51 Cache-Control: ['no-cache, no-store'] 47 Cache-Control: ['no-cache, no-store']
52 Content-Type: [application/json; charset=utf-8] 48 Content-Type: [application/json; charset=utf-8]
@@ -57,9 +53,9 @@ interactions:
57 X-Download-Options: [noopen] 53 X-Download-Options: [noopen]
58 X-Frame-Options: [SAMEORIGIN] 54 X-Frame-Options: [SAMEORIGIN]
59 X-Permitted-Cross-Domain-Policies: [none] 55 X-Permitted-Cross-Domain-Policies: [none]
60 X-Request-Id: [74dd4825-6beb-4fbd-8fc9-c5c7a62c092e] 56 X-Request-Id: [9045f22b-52f8-4da5-98ae-036e082da3f6]
61 X-Runtime: ['0.081625'] 57 X-Runtime: ['0.127667']
62 X-XSS-Protection: [1; mode=block] 58 X-XSS-Protection: [1; mode=block]
63 content-length: ['1553'] 59 content-length: ['1192']
64 status: {code: 200, message: OK} 60 status: {code: 200, message: OK}
65version: 1 61version: 1
Powered by cgit v1.2.3 (git 2.41.0)